package com.pactera.miyuangroup.db.mapper;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.pactera.miyuangroup.db.entity.VehicleInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.pactera.miyuangroup.vo.response.web.PageDeliverymanAdjustRes;
import com.pactera.miyuangroup.vo.response.web.VehicleInfoRes;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * <p>
 * 车辆信息 Mapper 接口
 * </p>
 *
 * @author WangWu
 * @since 2018-04-13
 */
public interface VehicleInfoMapper extends BaseMapper<VehicleInfo> {


    List<VehicleInfoRes> selectVehicleInfoResList(Pagination pagination, @Param("ew")EntityWrapper wrapper);

    /**
     * 查询车辆人员列表
     * @param pagination
     * @param wrapper
     * @return
     */
    List<PageDeliverymanAdjustRes> selectListDeliverymanAdjust(Pagination pagination, @Param("ew")EntityWrapper wrapper);
}
